﻿using AutoMapper;
using DAL.ComplexModels;
using DAL.Models.DTO;

namespace DAL.Models.AutoMapperConfigManage
{
    public class ComplaintProfile : Profile
    {
        public ComplaintProfile()
        {
            // 对多个属性进行自定义映射

            CreateMap <Complaint, ComplaintDTO>().ReverseMap();
            CreateMap<ComplaintBag, ComplaintDTO>().ReverseMap();
        }
    }
}
